import { Routes, RouterModule } from '@angular/router'
import { ModuleWithProviders } from '@angular/core'
import { HomePageComponent } from './home-page.component'

export const homePageRoutes: Routes = [
  {
    path: '',
    component: HomePageComponent,
    data: {
      pageTitle: '首页'
    }
  }
]

export const homePageRouting: ModuleWithProviders = RouterModule.forChild(homePageRoutes)
